﻿using System;

namespace NodeBasedSkillEditor
{
    public enum EPortIOType
    {
        Unknown,
        Input,
        Output
    }

    public enum EPortContextMode
    {
        Relay,
        Node,
        Isolate
    }

    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
    public class PortAttribute : Attribute
    {
        public EPortIOType IOType = EPortIOType.Unknown;
        public int TypeGroup = DAGHelper.InvalidTypeGroupId;
        public bool IsListPort = false;
        public EPortContextMode ContextMode = EPortContextMode.Relay;
    }
}
